const crypto = require('crypto');
module.exports = {
    hmac(pwd){
        const secret = '1705b';
        const hash = crypto.createHmac('sha256', secret)
                   .update(pwd)
                   .digest('hex');
       return hash
    }
}